﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace CarsRegistrationService.Models.LightDataModel
{
    public class LightPersonPassport
    {
        [Required(ErrorMessage = "*")]
        [DisplayName("Имя")]
        public string FirstName { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Фамилия")]
        public string LastName { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Отчество")]
        public string MiddleName { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Серия")]
        public string Series { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Номер")]
        public string Number { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Дата рождения")]
        public DateTime? DateBirthday { get; set; }
    }
}